package com.example.xunwuproject.service;

import com.example.xunwuproject.entity.User;
import com.example.xunwuproject.web.dto.UserDTO;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2019-03-10
 **/
public interface IUserService {
    User findUserByName(String userName);

    ServiceResult<UserDTO> findById(Long adminId);

    User findUserByTelephone(String telephone);

    User addUserByPhone(String telephone);

    ServiceResult modifyUserProfile(String profile, String value);
}
